<template>
  <div class="goods">
    <el-breadcrumb separator="/">
      <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item>商品管理</el-breadcrumb-item>
      <el-breadcrumb-item>商品列表</el-breadcrumb-item>
    </el-breadcrumb>
    <el-button type="primary" plain @click="goJump">添加用户</el-button>
    <!-- <el-button type="primary" plain style="width:100px; height:40px;line-height:40px;padding:0">
      <router-link to="params" style="display: block;
  width: 100%;
  height: 100%;">添加用户</router-link>
    </el-button>-->
  </div>
</template>
<script>
export default {
  methods: {
    goJump () {
      this.$router.push({ name: 'params' })
    }
  }
}
</script>
